#ifndef _TEXT_H_
#define _TEXT_H_

#include <atlstr.h>
#include <d3d9.h>
#include <d3dx9.h>

#pragma comment (lib, "d3d9.lib")
#pragma comment (lib, "d3dx9.lib")


#pragma once

class VText
{
public:
	VText(void);
	VText(CString strText);
	virtual ~VText(void);


	void Draw();
	void Release();
	void SetText(CString strText);


	// text declarations
	CString				m_strText;
	LPD3DXFONT			m_font;    // the pointer to the text
	RECT				m_rectangle;
	
};
#endif